package com.huawang.mdesign.model.service.request;

import com.huawang.business.constants.ParamErrorConstants;
import com.huawang.business.dto.ProjectIdDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Set;

/**
 * @auther lairenmao
 * @date 2025/7/16
 */
@Data
public class ValidationModelQueryDTO extends ProjectIdDTO {
    @Schema(title = "校验分组模型id")
    private List<String> validationGroupInstanceIds;

    @Schema(title = "查询的校验分组类型")
    private Set<String> validationModelTypes;

    @Schema(title = "严重程度")
    @NotNull(message = ParamErrorConstants.NO_SEVERITY)
    private Integer severity;

    @Schema(title = "是否过滤内置规则，true过滤，false不过滤")
    private Boolean isFilterBuiltinRule = Boolean.FALSE;

}
